<%@ page contentType="text/html; charset=utf-8" %>    
<%    
   response.setContentType("application/x-msdownload");     
   response.setHeader("Content-disposition","attachment; filename="+new String("download.xls"));    
 %>    
<html>    
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
  <head><title>生成的EXCEL</title></head>  
<body>    
  <table borderColor=#111111 cellSpacing=0 cellPadding=2 width=1200 align=center border=1>    
  <%=request.getParameter("tablevalue2")%>    
</table>    
</body>    
</html>    